drop problem end characters from filename operating on String not RawFilePath
authorJoey Hess <joeyh@joeyh.name>
Mon, 15 Sep 2025 17:42:50 +0000 (13:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 15 Sep 2025 17:42:50 +0000 (13:42 -0400)
commit11e7211d7b1fdf1db899c6199d3eddf2b9947b66
tree7cf0a28b265d58f440b09ccf488e81f42549d7f6
parent30469503e546830b572ae2a276c7cb273ef2ba7d
drop problem end characters from filename operating on String not RawFilePath

Fix bug that could cause an invalid utf-8 sequence to be used in a
temporary filename when the input filename was valid utf-8.

Sponsored-by: k0ld
CHANGELOG
Utility/Tmp.hs
doc/bugs/multibyte_characters_broken.mdwn
doc/bugs/multibyte_characters_broken/comment_1_eb421648f585296f7c44f969bdcae7a4._comment [new file with mode: 0644]